KeyModifiers

interface KeyModifiers

The modifiers for the keyboard and mouse events. Indicates which keyboard modifier keys are pressed.

Types

Link copied to clipboard
class Builder
A builder of KeyModifiers.

Functions

Link copied to clipboard
open fun isAltDown(): Boolean
Returns true if the Alt key is pressed.
Link copied to clipboard
Returns true if the Alt Graph/Right Alt key is pressed.
Link copied to clipboard
Returns true if the Ctrl key is pressed.
Link copied to clipboard
open fun isMetaDown(): Boolean
Returns true if the Meta key is pressed.
Link copied to clipboard
open fun isShiftDown(): Boolean
Returns true if the Shift key is pressed.
Link copied to clipboard
Creates a new KeyModifiers builder.